<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@include file="../../common/header.jsp"%>
<script type="text/javascript" src="${ctx}/static/00100/javascripts/gopay/express/completeInfo.js"></script>
<div class="container">
    <div class="grid-960">
        <!-- 支付订单详情 -->
        <jsp:include page="../orderDtl.jsp" flush="true"/>
        <div class="payment-mode">
            <form id="completeUserInfoForm" name="completeUserInfoForm" method="post" action="${ctx}/user/submit.shtml?orderId=${orderId}">
            <div class="borderBox-3 posiRelative">
                <c:if test="${type eq '2'}">
                    <div class="tips-box">
                        <span class="tips-10">您是首次使用国付宝账户，仅需初始化以下信息后，即可快捷完成付款。</span>
                    </div>
                </c:if>
                <table class="table-tml-3">
                    <tbody>
                    <tr>
                        <th>您的职业：</th>
                        <td class="posiRelative">
                            <select  name="custProession" id="custProession"  class="width253">
                                <option value="">请选择</option>
                                <c:forEach var="p" items="${profession }">
                                    <option value="${p.code }">${p.name }</option>
                                </c:forEach>
                            </select>
                            <span class="tips-7 zoom" id="custProessionTip" style="display: none;">请选择职业</span>
                        </td>
                    </tr>
                    <tr>
                        <th>支付密码：</th>
                        <td class="posiRelative">
                            <input type="password" class="input-style-2" id="payPassWd" name="payPassWd">
                            <span class="tips-12 zoom" id="payPassWdTip" style="display: none;"></span>
                        </td>
                    </tr>
                    <tr>
                        <th>确认支付密码：</th>
                        <td class="posiRelative">
                            <input type="password" class="input-style-2" id="rePayPassWd" name="rePayPassWd">
                            <span class="tips-12 zoom" id="rePayPassWdTip" style="display: none;"></span>
                        </td>
                    </tr>
                    <tr>
                        <th>设置提示问题：</th>
                        <td class="posiRelative">
                            <select id="pwdQuestion" name="pwdQuestion" class="width253">
                                <option value="">请选择一个问题</option>
                                <c:forEach items="${questionList}" var="question" varStatus="rowNum">
                                    <option value="${question}" title="${question }">
                                            ${question}
                                    </option>
                                </c:forEach>
                            </select>
                            <span class="tips-7 zoom" id="pwdQuestionTip" style="display: none;">请选择提示问题</span>
                        </td>
                    </tr>
                    <tr>
                        <th>设置问题答案：</th>
                        <td class="posiRelative">
                            <input type="text" class="input-style-2" id="pwdAnswer" name="pwdAnswer">
                            <span class="tips-12 zoom" id="pwdAnswerTip" style="display: none;"></span>
                        </td>
                    </tr>
                    </tbody>
                </table>
                <c:if test="${type eq '2'}">
                    <img class="step" src="${ctx}/static/00100/images/bg_step.png">
                </c:if>
                <c:if test="${type eq '1'}">
                    <span class="tips" style="top:40px;right:30px">初始化账户信息后，下次<br/>登录国付宝账户即可快速<br/>完成付款。</span>
                </c:if>
            </div>
            <table class="table-tml-3">
                <tbody>
                <tr>
                    <th>
                        <input type="hidden" id="orderId" name="orderId" value="${orderId}"/>
                        <input type="hidden" name="orderKey" id="orderKey" value="<%=request.getParameter("orderKey")%>"/>
                        <input type="hidden" id="custId" name="custId" value="${custId}"/>
                        <input type="hidden" id="type" name="type" value="${type}"/>
                    </th>
                    <td>
                        <button class="btn-2" type="button" onclick="completeSubmit();">确定</button>
                    </td>
                </tr>
                </tbody>
            </table>
            </form>
        </div>
    </div>
</div>
<%@include file="../../common/footer.jsp"%>